/**
 * ThresholdFilterParameter.java
 * 
 * @date: 2012-02-09
 * @author: Xiaoyu Guo (MUN# 200982155)
 * This file is part of the course project for COMP 6752, 
 * Application of Computer Graphics. All the file is written
 * by myself.
 */
package mun.cs6752.project.filter.threshold;

import mun.cs6752.project.filter.interfaces.IImageFilterParameter;

/**
 * @author Xiaoyu Guo
 *
 */
public class ThresholdFilterParameter implements IImageFilterParameter {
    private int r, g, b;
    
    public ThresholdFilterParameter(int r, int g, int b){
        this.r = r;
        this.g = g;
        this.b = b;
    }
    
    public ThresholdFilterParameter(int grey){
        this.r = grey;
        this.g = grey;
        this.b = grey;
    }
    
    public int getR(){
        return r;
    }
    
    public int getG(){
        return g;
    }
    
    public int getB(){
        return b;
    }
}
